﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TZReport_Util.Attributes;

namespace TZReport_Util.Model
{
    public enum CodeStatus
    {
        [Remark("成功")]
        success = 200,
        [Remark("参数错误:{0}")]
        error_201 = 201,
        [Remark("无数据:{0}")]
        error_202 = 202,
        // 验证码失效
        [Remark("验证码:{0}")]
        error_203 = 203,
        [Remark("账号或密码错误")]
        error_204 = 204,
        [Remark("再错{0}次会被锁定24小时")]
        error_205 = 205,
        [Remark("抱歉，账号被锁,{0}后解封")]
        error_206 = 206,
        [Remark("忘记密码")]
        error_207 = 207,
        [Remark("密码必须是8-16位含字母和数字")]
        error_208 = 208,
        [Remark("请勿重复添加")]
        error_209 = 209,
        [Remark("当前用户无法登陆")]
        error_210 = 210,
        [Remark("无法修改此数据")]
        error_211 = 211,


        [Remark("无法移动，已经是最高或最低点")]
        error_212 = 212,
        [Remark("index content not found")]
        error_213 = 213,
        [Remark("无索引")]
        error_214 = 214,
        [Remark("无类型")]
        error_215 = 215,
        [Remark("no users")]
        error_216 = 216,

        [Remark("{0}已存在")]
        error_217 = 217,
        [Remark("预约条件不符:{0}")]
        error_218 = 218,
        [Remark("当前页面失效,请重新刷新")]
        error_219 = 219,
        [Remark("无法添加关键字，因为当前选项不是文本")]
        error_220 = 220,
        [Remark("无法下单，订单来自非同一页面")]
        error_221 = 221,
        [Remark("只允许夫妻关系下单")]
        error_222 = 222,
        [Remark("{0}")]
        error_223 = 223,
        [Remark("{0}状态无法修改日期")]
        error_224 = 224,
        [Remark("请先补充{0}")]
        error_225 = 225,
        [Remark("非1+X项目,无法调用此接口")]
        error_226 = 226,
        [Remark("需修改的手机号和用户手机号相同，无须修改")]
        error_227 = 227,
        [Remark("该手机号{0}占用")]
        error_228 = 228,
        [Remark("手机号:{0}您已绑定，无须多次绑定")]
        error_229 = 229,
        [Remark("无效的秘钥信息")]
        error_230 = 230,
        [Remark("微信票据获取错误:{0}")]
        error_231 = 231,
        [Remark("无此订单类型")]
        error_232 = 232,
        [Remark("微信下单失败:{0}")]
        error_233 = 233,
        [Remark("微信支付回调通知:失败")]
        error_234 = 234,
        [Remark("微信退款失败:{0}")]
        error_235 = 235,
        [Remark("{0}，无法微信下单")]
        error_236 = 236,
        [Remark("非支付订单，无法超时取消")]
        error_237 = 237,
        [Remark("未找到证书路径,{0}")]
        error_238 = 238,
        [Remark("退款金额为0,无法发起退款")]
        error_239 = 239,


        [Remark("个人资料未补充完全")]
        error_250 = 250,
        //[Remark("无法查询报告:该用户的{0}为空")]
        //error_251 = 251,
        [Remark("ticket错误")]
        error_252 = 252,
        [Remark("ticket已过期")]
        error_253 = 253,

        [Remark("图片验证码:{0}")]
        error_260 = 260,
        [Remark("当期页面已失效")]
        error_261 = 261,
        [Remark("抱歉，每天验证码短信只发送{0}条,请明日再试")]
        error_262 = 262,

        [Remark("无法修改此项信息")]
        error_270 = 270,

        [Remark("套餐价格大于额定价格，无法预约,请联系体检电话中心,{0}")]
        error_271 = 271,

        [Remark("未知错误:{0}")]
        error_301 = 301,
        [Remark("微信端错误:{0}")]
        error_302 = 302,
        [Remark("微信证书错误:{0}")]
        error_303 = 303,

        [Remark("json解析错误")]
        error_400 = 400,
        [Remark("webservice远程调用失败")]
        error_401 = 401,
        [Remark("订单状态不是{0}")]
        error_402 = 402,
        [Remark("无用户")]
        error_404 = 404,
        [Remark("{0}格式错误")]
        error_405 = 405,

        [Remark("信息错误:{0}")]
        error_420 = 420,
        [Remark("无权限:{0}")]
        error_425 = 425,

        [Remark("订单金额为0的不允许付款")]
        error_430 = 430,
        [Remark("当前订单不是取消状态")]
        error_431 = 431,
        [Remark("当前订单{0},无法申请退款")]
        error_432 = 432,
        [Remark("当前订单无法撤销退款申请")]
        error_433 = 433,
        [Remark("当前订单不是待支付或支付成功订单，回调失败")]
        error_434 = 434,
        [Remark("当前订单{0},不能取消")]
        error_435 = 435,

        [Remark("图片不能大于{0}M")]
        error_440 = 440,

        [Remark("短信发送失败:{0}")]
        error_450 = 450,

        [Remark("接口错误:{0}")]
        error_500 = 500,


        [Remark("token校验错误:{0}")]
        error_601 = 601,
        [Remark("token过期")]
        error_602 = 602,
        [Remark("医院账号被关闭")]
        error_603 = 603,
        [Remark("token切换,跳登录")]
        error_604 = 604,

        [Remark("解密失败")]
        error_701 = 701,
        [Remark("非身份证号")]
        error_702 = 702,

        [Remark("路径错误:{0}")]
        error_801 = 801,
        [Remark("支付方式错误")]
        error_802 = 802,
        [Remark("退款方式错误")]
        error_803 = 803,

        [Remark("调用体检支付失败")]
        error_10001 = -10001,

        [Remark("体检数据库操作失败")]
        error_10002 = -10002,
    }
}
